package com.synthefact.daj.ctrl;

import com.synthefact.daj.view.awt.Application;
import com.synthefact.daj.view.awt.Visualizer;

public class NetworkController {

    private Visualizer visualizer;

    // --------------------------------------------------------------------------
    // create new Network for application `appl`
    // switch visualization on with title `label` and size `x/y`
    // `appl` is the current application
    // move visualizer to `px/py`, if `resize`, then resize to `w/h`
    // --------------------------------------------------------------------------

    public NetworkController(Application application, String label, int width, int height, int posX, int posY) {
	// TODO Auto-generated constructor stub
	visualizer = new Visualizer(application, this, label, posX, posY);
	visualizer.getScreen().redraw();
    }

}
